package com.hc.model.code02.test9;

/**
 * @version v1.0
 * @ClassName: CoffeeStore
 * @Description: 咖啡商店类
 * @Author: HC
 */
public class CoffeeStore {

    public Coffee orderCoffee(String type) {
        Coffee coffee = CoffeeSimple.createCoffee(type);
        // 加配料
        coffee.addMilk();
        coffee.addSugar();
        return coffee;
    }
}
